package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.commons.utils.BeanCopyUtil;
import com.woniuxy.controller.form.LoadAddressForm;
import com.woniuxy.controller.form.UpdateAddressForm;
import com.woniuxy.dao.model.AddressInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.service.dto.AllAddressDto;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author psy
 * @since 2022-06-28
 */
public interface AddressInfoService extends IService<AddressInfo> {

    Page<AllAddressDto> loadAddress(LoadAddressForm loadAddressForm);

    boolean delAddress(Long customerId);

    boolean updateAddress(UpdateAddressForm updateAddressForm);
}
